package com.pn.vo;


import com.pn.entity.SysMenu;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//加载用户权限菜单树后台给前台响应数据的Vo类:
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuthMenuVo {

    //响应给前台的用户权限菜单树List<SysMenu>
    private List<SysMenu> menuList;

    //响应给前台的用户所有权限List<String>
    private List<String> authorities;
}
